import request from '@/utils/request'

// 获取路由
export const dataAnalysis = () => {
    return request({
        url: '/dataAnalysis/total',
        method: 'get',
    })
}

// 获取最近一个月数据
export const gbDayRecord = (query) => {
    return request({
        url: '/gbDayRecord',
        method: 'get',
        params: query,
    })
}
